package com.crr.mall.product.feign;

import com.crr.mall.common.to.StockVO;
import com.crr.mall.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient("renrenmall-ware")
public interface WareFeignService {

    @PostMapping("/ware/waresku/hasstock")
    List<StockVO> getStock(@RequestBody List<Long> skuIds);


}
